package com.wing.product.model.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @version 1.1.0
 * @Author hz
 * @Date 2024-09-02 14:46
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class ReviewDetailVo {

    //客户id
    private Long customerId;

    private Long orderId;
    private Long proId;
    //客户名称
    private String customerName;
    //客户产品类别
    private String cusProductCategory;
    private String cusSkuCode;
    private String cusProductName;
    //产品类型名称
    private String productTypeName;
    private String cusProductSpec;
    //客户计量单位
    private String cusProductUnit;
    private Integer cusProductCount;
    private LocalDateTime reviewEndTime;
    private LocalDateTime planGivenTime;

    private String remark;
    private Long productTypeId;
    private String productNature;
    private String productNatureName;
    private String isUseOrAdd;
    //新添加的物料号 isUseOrAdd = 2 才有
    private String inSkuCode;
    private String inSkuName;
    private String inSkuSpec;
    private String inSkuUnit;
    private String inSkuUnitName;
    private String inUnit;
    private String inUnitName;
    private String inUnitCount;
    private String inRemark;
    private String reviewProcessId;
    //工艺说明
    private String processDescription;
    private String attachmentPdfUrl;
    private String fileName;

    //审核相关
    private String assignNew;

    //评论相关
    private String result;

    //评审用时
    private String reviewTime;

    //评审备注描述
    private String reviewDesc;

    //评审人名称
    private String reviewerName;

    private String mainCalWay;
    private String mainCalWayName;
    private Long mainUnitId;
    private String mainUnitName;
    private String mainUnitRate;
    private String subCalWay;
    private String subCalWayName;
    private Long subUnitId;
    private String subUnitName;
    private String subUnitRate;
    private String boxStatus;
    private String checkStatus;
    private String costCheckType;

    /**
     * 评审时间
     */
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime  reviewOkTime;


}
